package com.chenfan.finance.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chenfan.finance.model.CfSalesdeliverDetail;
import com.chenfan.finance.model.TocSalesDeliverDetail;
import org.apache.ibatis.annotations.Mapper;
import com.chenfan.finance.model.vo.TimeRange;
import org.apache.ibatis.annotations.Param;


import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
@Mapper
public interface CfSalesdeliverDetailMapper  extends BaseMapper<TocSalesDeliverDetail> {

    int insertList(@Param("list")List<TocSalesDeliverDetail> list,@Param("taskYearMonth") LocalDateTime taskYearMonth);


    List<TocSalesDeliverDetail> getDetailsListByStockOutId(@Param("stockoutId") Integer stockoutId, @Param("timeRange")TimeRange timeRange);
}